import axios from 'axios';
//登录

let login = (data) => axios.post('/api/admin/login', data);

//注册
let register = (data) => axios.post('/api/admin/register', data);
 // //获取管理员资料
 // let info = (params) => axios.get('/api/admin', { params });
 export default{
	 login,
	 register,
	 // info,
 }